package com.jwell.panprovider.contract

import com.jwell.cargoapp.ui.base.IBaseView
import com.jwell.driverapp.tools.BaseSubscriber
import com.jwell.panprovider.entity.InlineBean
import com.jwell.panprovider.model.PreRegisterPlaneModel

/**
 * Created by 76577 on 2018/4/11.
 * 预登记验收计划
 */
class PreRegisterPlaneContract {
    interface View : IBaseView {
        fun createSucceed()

        fun createFailed(msg: String)

        fun showInlineData(data: List<InlineBean>?)
    }

    interface Presenter {
        fun createFuelPlan(requestData: PreRegisterPlaneModel.RequestData)

        fun getContractListByProName(id: String)
    }

    interface Model {
        fun createFuelPlan(requestData: PreRegisterPlaneModel.RequestData, baseSubscriber: BaseSubscriber)

        fun getContractListByProName(id: String, baseSubscriber: BaseSubscriber)
    }
}